<?php
namespace app\api\controller\v1;
use app\api\service\Token;
use think\Controller;

class Tokens extends Controller {
    
    // 获取token
    public function getToken($code='') {
        echo 123;die;
        $service = new Token;
        return $service->getToken($code);
    }
}